package com.stefanie.study.fp;

/**
 * @author: stefanie-zy
 * @time: 2024/6/27-16:51
 * @description: 工厂模式-具体工厂
 */
public class ConcreteFactoryA implements Factory {

    @Override
    public Product create() {
        ConcreteProductA concreteProductA = new ConcreteProductA();
        concreteProductA.setSku("prod-");
        concreteProductA.setName("A");
        return concreteProductA;
    }
}
